var demo = angular.module('demo', [])
    .run(function ($rootScope) {
        console.log('angular 已启动');
        $rootScope.name = 'angular';
    });
angular.module('demo1', [])
    .run(function ($rootScope) {
        console.log('angular 已启动');
        $rootScope.name = 'javascript';
    });
angular.bootstrap(document.querySelector('.div1'), [
    'demo'
]);
angular.bootstrap(document.querySelector('.div2'), [
    'demo1'
]);
